package com.kuang.demo.bean.wx;

import java.util.List;

/**
 * @author ACG
 * @date 2020-11-05 14:02
 */
public class ShoppingCartCheckoutData {

    /**
     * grouponPrice : 8
     * grouponRulesId : 36
     * checkedAddress : {"id":32,"name":"刘师傅","userId":3,"provinceId":1,"cityId":32,"areaId":379,"address":"花山街道软件新城2期","mobile":"18675730010","isDefault":false,"addTime":"2020-10-08 21:14:35","updateTime":"2020-11-04 16:52:59","deleted":false}
     * actualPrice : 3222
     * orderTotalPrice : 3222
     * couponPrice : 666
     * availableCouponLength : 2
     * couponId : 114
     * freightPrice : 0
     * checkedGoodsList : [{"id":616,"userId":3,"goodsId":1181131,"goodsSn":"123","goodsName":"电视机","productId":635,"price":3888,"number":1,"specifications":["标准"],"checked":true,"picUrl":"http://182.92.235.201:8083/wx/storage/fetch/ospwt8i7hv1xsxpmiv8i.jpg","addTime":"2020-11-05 11:39:14","updateTime":"2020-11-05 12:06:02","deleted":false}]
     * goodsTotalPrice : 3888
     * addressId : 32
     */

    private int grouponPrice;
    private int grouponRulesId;
    private CheckedAddressBean checkedAddress;
    private int actualPrice;
    private int orderTotalPrice;
    private int couponPrice;
    private int availableCouponLength;
    private int couponId;
    private int freightPrice;
    private int goodsTotalPrice;
    private int addressId;
    private List<CheckedGoodsListBean> checkedGoodsList;

    public int getGrouponPrice() {
        return grouponPrice;
    }

    public void setGrouponPrice(int grouponPrice) {
        this.grouponPrice = grouponPrice;
    }

    public int getGrouponRulesId() {
        return grouponRulesId;
    }

    public void setGrouponRulesId(int grouponRulesId) {
        this.grouponRulesId = grouponRulesId;
    }

    public CheckedAddressBean getCheckedAddress() {
        return checkedAddress;
    }

    public void setCheckedAddress(CheckedAddressBean checkedAddress) {
        this.checkedAddress = checkedAddress;
    }

    public int getActualPrice() {
        return actualPrice;
    }

    public void setActualPrice(int actualPrice) {
        this.actualPrice = actualPrice;
    }

    public int getOrderTotalPrice() {
        return orderTotalPrice;
    }

    public void setOrderTotalPrice(int orderTotalPrice) {
        this.orderTotalPrice = orderTotalPrice;
    }

    public int getCouponPrice() {
        return couponPrice;
    }

    public void setCouponPrice(int couponPrice) {
        this.couponPrice = couponPrice;
    }

    public int getAvailableCouponLength() {
        return availableCouponLength;
    }

    public void setAvailableCouponLength(int availableCouponLength) {
        this.availableCouponLength = availableCouponLength;
    }

    public int getCouponId() {
        return couponId;
    }

    public void setCouponId(int couponId) {
        this.couponId = couponId;
    }

    public int getFreightPrice() {
        return freightPrice;
    }

    public void setFreightPrice(int freightPrice) {
        this.freightPrice = freightPrice;
    }

    public int getGoodsTotalPrice() {
        return goodsTotalPrice;
    }

    public void setGoodsTotalPrice(int goodsTotalPrice) {
        this.goodsTotalPrice = goodsTotalPrice;
    }

    public int getAddressId() {
        return addressId;
    }

    public void setAddressId(int addressId) {
        this.addressId = addressId;
    }

    public List<CheckedGoodsListBean> getCheckedGoodsList() {
        return checkedGoodsList;
    }

    public void setCheckedGoodsList(List<CheckedGoodsListBean> checkedGoodsList) {
        this.checkedGoodsList = checkedGoodsList;
    }

    public static class CheckedAddressBean {
        /**
         * id : 32
         * name : 刘师傅
         * userId : 3
         * provinceId : 1
         * cityId : 32
         * areaId : 379
         * address : 花山街道软件新城2期
         * mobile : 18675730010
         * isDefault : false
         * addTime : 2020-10-08 21:14:35
         * updateTime : 2020-11-04 16:52:59
         * deleted : false
         */

        private int id;
        private String name;
        private int userId;
        private int provinceId;
        private int cityId;
        private int areaId;
        private String address;
        private String mobile;
        private boolean isDefault;
        private String addTime;
        private String updateTime;
        private boolean deleted;

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public int getUserId() {
            return userId;
        }

        public void setUserId(int userId) {
            this.userId = userId;
        }

        public int getProvinceId() {
            return provinceId;
        }

        public void setProvinceId(int provinceId) {
            this.provinceId = provinceId;
        }

        public int getCityId() {
            return cityId;
        }

        public void setCityId(int cityId) {
            this.cityId = cityId;
        }

        public int getAreaId() {
            return areaId;
        }

        public void setAreaId(int areaId) {
            this.areaId = areaId;
        }

        public String getAddress() {
            return address;
        }

        public void setAddress(String address) {
            this.address = address;
        }

        public String getMobile() {
            return mobile;
        }

        public void setMobile(String mobile) {
            this.mobile = mobile;
        }

        public boolean isIsDefault() {
            return isDefault;
        }

        public void setIsDefault(boolean isDefault) {
            this.isDefault = isDefault;
        }

        public String getAddTime() {
            return addTime;
        }

        public void setAddTime(String addTime) {
            this.addTime = addTime;
        }

        public String getUpdateTime() {
            return updateTime;
        }

        public void setUpdateTime(String updateTime) {
            this.updateTime = updateTime;
        }

        public boolean isDeleted() {
            return deleted;
        }

        public void setDeleted(boolean deleted) {
            this.deleted = deleted;
        }
    }

    public static class CheckedGoodsListBean {
        /**
         * id : 616
         * userId : 3
         * goodsId : 1181131
         * goodsSn : 123
         * goodsName : 电视机
         * productId : 635
         * price : 3888
         * number : 1
         * specifications : ["标准"]
         * checked : true
         * picUrl : http://182.92.235.201:8083/wx/storage/fetch/ospwt8i7hv1xsxpmiv8i.jpg
         * addTime : 2020-11-05 11:39:14
         * updateTime : 2020-11-05 12:06:02
         * deleted : false
         */

        private int id;
        private int userId;
        private int goodsId;
        private String goodsSn;
        private String goodsName;
        private int productId;
        private int price;
        private int number;
        private boolean checked;
        private String picUrl;
        private String addTime;
        private String updateTime;
        private boolean deleted;
        private List<String> specifications;

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public int getUserId() {
            return userId;
        }

        public void setUserId(int userId) {
            this.userId = userId;
        }

        public int getGoodsId() {
            return goodsId;
        }

        public void setGoodsId(int goodsId) {
            this.goodsId = goodsId;
        }

        public String getGoodsSn() {
            return goodsSn;
        }

        public void setGoodsSn(String goodsSn) {
            this.goodsSn = goodsSn;
        }

        public String getGoodsName() {
            return goodsName;
        }

        public void setGoodsName(String goodsName) {
            this.goodsName = goodsName;
        }

        public int getProductId() {
            return productId;
        }

        public void setProductId(int productId) {
            this.productId = productId;
        }

        public int getPrice() {
            return price;
        }

        public void setPrice(int price) {
            this.price = price;
        }

        public int getNumber() {
            return number;
        }

        public void setNumber(int number) {
            this.number = number;
        }

        public boolean isChecked() {
            return checked;
        }

        public void setChecked(boolean checked) {
            this.checked = checked;
        }

        public String getPicUrl() {
            return picUrl;
        }

        public void setPicUrl(String picUrl) {
            this.picUrl = picUrl;
        }

        public String getAddTime() {
            return addTime;
        }

        public void setAddTime(String addTime) {
            this.addTime = addTime;
        }

        public String getUpdateTime() {
            return updateTime;
        }

        public void setUpdateTime(String updateTime) {
            this.updateTime = updateTime;
        }

        public boolean isDeleted() {
            return deleted;
        }

        public void setDeleted(boolean deleted) {
            this.deleted = deleted;
        }

        public List<String> getSpecifications() {
            return specifications;
        }

        public void setSpecifications(List<String> specifications) {
            this.specifications = specifications;
        }
    }
}
